import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { FormsModule } from '@angular/forms';
import {
    ModalModule,
    TabsModule,
    TooltipModule,
    BsDropdownModule,
    BsDatepickerModule,
} from 'ngx-bootstrap';
import { AppCommonModule } from '@app/shared/common/app-common.module';
import { UtilsModule } from '@shared/utils/utils.module';
import { CountoModule } from '@node_modules/angular2-counto';
//import { EasyPieChartModule } from 'ng2modules-easypiechart';

import { WorkingtimeRoutingModule } from './workingtime-routing.module';
import { TaskworkingComponent } from './taskworking/taskworking.component';
import { CreateOrEditTaskworkingModalComponent } from './taskworking/create-or-edit-taskworking-modal.component';
import { CreateProcModalComponent } from './taskworking/create-proc-modal.component';
import { WorkingtimeformComponent } from './workingtimeform/workingtimeform.component';
import { WorkingcharComponent } from './workingchar/workingchar.component';
import { DataTableModule, MultiSelectModule, PaginatorModule, CalendarModule, TreeTableModule, InputTextModule, InputSwitchModule, DropdownModule, SpinnerModule, TabMenuModule, TabViewModule, ChartModule } from 'primeng/primeng';
import { TableModule } from 'primeng/table';

@NgModule({
    imports: [
        CommonModule,
        FormsModule,
        ModalModule,
        TabsModule,
        TooltipModule,
        AppCommonModule,
        UtilsModule,
        WorkingtimeRoutingModule,
        CountoModule,
        //EasyPieChartModule,
        DataTableModule,
        TableModule,
        MultiSelectModule,
        PaginatorModule,
        TreeTableModule,
        CalendarModule,
        InputTextModule,
        InputSwitchModule,
        DropdownModule,
        BsDropdownModule.forRoot(),
        SpinnerModule,
        BsDatepickerModule.forRoot(),
        TabMenuModule,
        TabViewModule,
        ChartModule,
    ],
    declarations: [
        TaskworkingComponent,
        CreateOrEditTaskworkingModalComponent,
        CreateProcModalComponent,
        WorkingtimeformComponent,
        WorkingcharComponent,
    ],
})
export class WorkingtimeModule {}
